package com.ly.service;

import org.springframework.stereotype.Component;

/**
 * Hystrix之通配服务降级FeignFallback
 */
@Component   //使springboot扫描到
public class PaymentFallbackService implements PaymentHystrixService{
    @Override
    public String paymentInfo_ok(String id) {
        return "系统异常";
    }

    @Override
    public String getPaymentInfoFalse(String id) {
        return "系统异常啦~~~";
    }
}
